In statistics and coding theory, a Hamming space is the set of all binary strings of length N. It is used in the theory of coding signals and transmission. Hamming codes and Hamming distance are related concepts.